
public class Contains {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String a = "WebAction {name:OMS.OMS.OF.OFSearchShipmentLines}";
		if((a.contains("OMS.OF.OFInventorySearch"))
				||(a.contains("OMS.OF.OFLaneReport"))
				||(a.contains("OMS.OF.OFSearchShipmentLines"))
				||(a.contains("OMS.OF.OFSearchPurchaseOrderLines"))
				||(a.contains("OMS.OF.OFProductionOrderDashboard"))
				||(a.contains("OMS.OF.OrderPromisingEngine"))
				)
			System.out.println("Yes it contains");
		else
			System.out.println("No, it does not contain");
	}

}
